<template>
  <!--<warehouseCenterIndex></warehouseCenterIndex>-->
  <div class="warehouseIndex">
    <div class="warehouseIndex--left">
      <warehouseLeftIndex></warehouseLeftIndex>
    </div>
    <div class="warehouseIndex--center">
      <WarehouseMap></WarehouseMap>
    </div>
    <div class="warehouseIndex--right">
      <warehouseRightIndex></warehouseRightIndex>
    </div>
  </div>
</template>

<script setup>
import warehouseLeftIndex from '@/views/armyScreen/warehouse/left/warehouseLeftIndex.vue'
import warehouseRightIndex from '@/views/armyScreen/warehouse/right/warehouseRightIndex.vue'
// import warehouseCenterIndex from '@/views/armyScreen/warehouse/center/warehouseCenterIndex.vue'
import WarehouseMap from '@/views/armyScreen/barracks/change/WarehouseMap.vue'
</script>

<style lang="scss" scoped>
.warehouseIndex{
  position: relative;

  &--left {
    position: absolute;
    left: 36px;
    top: 12px;
  }

  &--center {
    width: 886px;
    height: 871px;
    margin: 0 auto;
    //border: 1px solid red;

    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  &--right {
    position: absolute;
    right: 36px;
    top: 12px;
  }
}
</style>
